The plugin handles 'person' and some other irregular words
incorrectly. For example,
script/generate authenticated person sessions
gives code like
map.signup '/signup', :controller => 'peoples', :action => 'new'
instead of
map.signup '/signup', :controller => 'people', :action => 'new'
(i.e., 'peoples' instead of 'people').
What's happening is that, implicitly, pluralize is
being called twice on the model name, so the plugin fails for any
name that doesn't satisfy the identity
name.pluralize.pluralize == name.pluralize
In the example, the problem is that 'person'.pluralize ==
'people' but 'people'.pluralize == 'peoples'.
The culprit is in the call to inflect_names in
authenticated_generator.rb. I've attached a patch with a
fix; let me know if you'd prefer a GitHub pull request.